package com.t168.appinfo.service.background.backenduser.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.t168.appinfo.dao.background.backenduser.BackendUserMapper;
import com.t168.appinfo.entity.BackendUser;
import com.t168.appinfo.service.background.backenduser.BackendUserService;

@Service("backendUserService")
public class BackendUserServiceImpl implements BackendUserService {

	@Resource(name="backendUserMapper")
	private BackendUserMapper backendUserMapper;
	
	public BackendUserMapper getBackendUserMapper() {
		return backendUserMapper;
	}

	public void setBackendUserMapper(BackendUserMapper backendUserMapper) {
		this.backendUserMapper = backendUserMapper;
	}




	@Override
	public BackendUser doLogin(String userCode, String userPassword) {
		return backendUserMapper.doLogin(userCode, userPassword);
	}

}
